package _25_visitor_pattern.v_common;

/**
 * @Description: 
 * @Auther: 2019/6/30 9:35 by zhang.jy 
 */
public class Client {
	public static void main(String[] args) {
		for (int i = 0; i < 10; i++) {
			//获得元素对象
			Element el = ObjectStruture.createElement();
			//接受访问者访问
			el.accept(new Visitor());
		}
	}
}